home *** CD-ROM | disk | FTP | other *** search
ASP.NET Web Form | 2002-03-17 | 1.1 KB | 25 lines |
- <%@ Page Language="vb" AutoEventWireup="false" Codebehind="WebForm1.aspx.vb" Inherits="FirstWebForms.WebForm1"%>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <HTML>
- <HEAD>
- <title>WebForm1</title>
- <meta name="GENERATOR" content="Microsoft Visual Studio.NET 7.0">
- <meta name="CODE_LANGUAGE" content="Visual Basic 7.0">
- <meta name="vs_defaultClientScript" content="JavaScript">
- <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
- </HEAD>
- <body>
- <form id="Form1" method="post" runat="server">
- <P>
- <asp:Label id="Label1" runat="server" Font-Bold="True" Font-Size="X-Large">Your First Web Form</asp:Label></P>
- <P>This form demonstrates the basic postback feature of all Web Forms</P>
- <P>
- <asp:TextBox id="txtOne" runat="server" Width="88px"></asp:TextBox>
- <asp:Label id="Label2" runat="server"> + </asp:Label>
- <asp:TextBox id="txtTwo" runat="server" Width="84px"></asp:TextBox>
- <asp:Button id="btnAdd" runat="server" Text=" = "></asp:Button>
- <asp:TextBox id="txtResult" runat="server" Width="84px"></asp:TextBox></P>
- </form>
- </body>
- </HTML>
-